package com.hncj3.hello;

public class test {
    public static void main(String[] args) {
        teacher a =new teacher();
        test b=new test();
        b.go(a);



    }
    public  void go(Swimming s){
        s.swim();
    }
}

